package com.masiyi.github.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author masiyi
 */
@ConfigurationProperties(
        prefix = "github"
)
public class GithubProperties {

    private String host = "https://api.github.com";
    private String authorization;
    private String owner;
    private String repo;
    private String branch;
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAuthorization() {
        return authorization;
    }

    public void setAuthorization(String authorization) {
        this.authorization = authorization;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getRepo() {
        return repo;
    }

    public void setRepo(String repo) {
        this.repo = repo;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }
}
